package com.hb.medical_research_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName result
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="result")
public class Result implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long resultId;

    /**
     * 关键字
     */
    private String keyword;

    /**
     * 文献id
     */
    private Long articleId;

    /**
     * 点赞数
     */
    private Integer likes;

    /**
     * 踩数
     */
    private Integer unlikes;

    /**
     * 点击数
     */
    private Integer click;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}